use actix_web::{web::ServiceConfig, Scope};

mod user;
mod device;
mod utils;
mod device2;

pub fn register(cfg: &mut ServiceConfig) {
    let scope = Scope::new("web_api")
        .configure(user::register)
        .configure(utils::register)
        .configure(device::register)
        .configure(device2::register);
    cfg.service(scope);
}
